<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: iframe</title>
<meta name="timeout" content="long">
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="iframe-transition-ref.html">
<meta name="assert" content="Ensure that iframe root capture is sized and displayed correctly">
<meta name=fuzzy content="maxDifference=0-200; totalPixels=0-200">
<script src="/common/reftest-wait.js"></script>
<style>
iframe { width: 500px; height: 500px }
</style>

<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");

addEventListener("message", takeScreenshot);
</script>

<iframe id=frame src="http://{{domains[www]}}:{{ports[http][0]}}/css/css-view-transitions/support/frame-helper.html"></iframe>
